using Wayloop.Fusion.Core.DataAccess;

namespace Wayloop.Fusion.Data
{
    public class DataContext : IDataContext
    {
        public IClientDao Client
        {
            get { return new ClientDao(); }
        }

        public IProjectDao Project
        {
            get { return new ProjectDao(); }
        }

        public IProjectReleaseDao ProjectRelease
        {
            get { return new ProjectReleaseDao(); }
        }

        public IProjectVersionDao ProjectVersion
        {
            get { return new ProjectVersionDao(); }
        }

        public ITaskDao Task
        {
            get { return new TaskDao(); }
        }

        public ITaskPriorityDao TaskPriority
        {
            get { return new TaskPriorityDao(); }
        }

        public ITaskTypeDao TaskType
        {
            get { return new TaskTypeDao(); }
        }

        public IUserDao User
        {
            get { return new UserDao(); }
        }
    }
}